package org.acerge.engine;
public class CCEvalue {
	public static final int MaxValue = 1000;
	public static final int EndgameMargin = 320;//
	public static final int RazorMargin = 240;
	public static final int ExtFutMargin = 160;//
	public static final int SelFutMargin = 80;
	public static final int InadequateValue = 40;
	public static final int[] BasicValues = {0, 40, 40, 88, 200, 96, 9};//帅仕象马车炮兵
	public static final int[][] PosValues = {//位置奖励值
		{ // King帅
			0,  0,  0,  0,  0,  0,  0,  0,  0,  0,
			0,  0,  0,  0,  0,  0,  0,  0,  0,  0,
			0,  0,  0,  0,  0,  0,  0,  0,  0,  0,
			1, -8, -9,  0,  0,  0,  0,  0,  0,  0,
			5, -8, -9,  0,  0,  0,  0,  0,  0,  0,
			1, -8, -9,  0,  0,  0,  0,  0,  0,  0,
			0,  0,  0,  0,  0,  0,  0,  0,  0,  0,
			0,  0,  0,  0,  0,  0,  0,  0,  0,  0,
			0,  0,  0,  0,  0,  0,  0,  0,  0,  0
		}, { // Advisor仕
			0,  0,  0,  0,  0,  0,  0,  0,  0,  0,
			0,  0,  0,  0,  0,  0,  0,  0,  0,  0,
			0,  0,  0,  0,  0,  0,  0,  0,  0,  0,
			0,  0,  0,  0,  0,  0,  0,  0,  0,  0,
			0,  3,  0,  0,  0,  0,  0,  0,  0,  0,
			0,  0,  0,  0,  0,  0,  0,  0,  0,  0,
			0,  0,  0,  0,  0,  0,  0,  0,  0,  0,
			0,  0,  0,  0,  0,  0,  0,  0,  0,  0,
			0,  0,  0,  0,  0,  0,  0,  0,  0,  0
		}, { // Bishop象  
			0,  0, -2,  0,  0,  0,  0,  0,  0,  0,
			0,  0,  0,  0,  0,  0,  0,  0,  0,  0,
			0,  0,  0,  0,  0,  0,  0,  0,  0,  0,
			0,  0,  0,  0,  0,  0,  0,  0,  0,  0,
			0,  0,  3,  0,  0,  0,  0,  0,  0,  0,
			0,  0,  0,  0,  0,  0,  0,  0,  0,  0,
			0,  0,  0,  0,  0,  0,  0,  0,  0,  0,
			0,  0,  0,  0,  0,  0,  0,  0,  0,  0,
			0,  0, -2,  0,  0,  0,  0,  0,  0,  0
		}, { // Knight马
			0, -3,  5,  4,  2,  2,  5,  4,  2,  2,
			-3,  2,  4,  6, 10, 12, 20, 10,  8,  2,
			2,  4,  6, 10, 13, 11, 12, 11, 15,  2,
			0,  5,  7,  7, 14, 15, 19, 15,  9,  8,
			2,-10,  4, 10, 15, 16, 12, 11,  6,  2,
			0,  5,  7,  7, 14, 15, 19, 15,  9,  8,
			2,  4,  6, 10, 13, 11, 12, 11, 15,  2,
			-3,  2,  4,  6, 10, 12, 20, 10,  8,  2,
			0, -3,  5,  4,  2,  2,  5,  4,  2,  2
		}, { // Rook车
			-6,  5, -2,  4,  8,  8,  6,  6,  6,  6,
			6,  8,  8,  9, 12, 11, 13,  8, 12,  8,
			4,  6,  4,  4, 12, 11, 13,  7,  9,  7,
			12, 12, 12, 12, 14, 14, 16, 14, 16, 13,
			0,  0, 12, 14, 15, 15, 16, 16, 33, 14,
			12, 12, 12, 12, 14, 14, 16, 14, 16, 13,
			4,  6,  4,  4, 12, 11, 13,  7,  9,  7,
			6,  8,  8,  9, 12, 11, 13,  8, 12,  8,
			-6,  5, -2,  4,  8,  8,  6,  6,  6,  6
		}, { // Cannon炮
			0,  0,  1,  0, -1,  0,  0,  1,  2,  4,
			0,  1,  0,  0,  0,  0,  3,  1,  2,  4,
			1,  2,  4,  0,  3,  0,  3,  0,  0,  0,
			3,  2,  3,  0,  0,  0,  2, -5, -4, -5,
			3,  2,  5,  0,  4,  4,  4, -4, -7, -6,
			3,  2,  3,  0,  0,  0,  2, -5, -4, -5,
			1,  2,  4,  0,  3,  0,  3,  0,  0,  0,
			0,  1,  0,  0,  0,  0,  3,  1,  2,  4,
			0,  0,  1,  0, -1,  0,  0,  1,  2,  4
		}, { // Pawn兵
			0,  0,  0, -2,  3, 10, 20, 20, 20,  0,
			0,  0,  0,  0,  0, 18, 27, 30, 30,  0,
			0,  0,  0, -2,  4, 22, 30, 45, 50,  0,
			0,  0,  0,  0,  0, 35, 40, 55, 65,  2,
			0,  0,  0,  6,  7, 40, 42, 55, 70,  4,
			0,  0,  0,  0,  0, 35, 40, 55, 65,  2,
			0,  0,  0, -2,  4, 22, 30, 45, 50,  0,
			0,  0,  0,  0,  0, 18, 27, 30, 30,  0,
			0,  0,  0, -2,  3, 10, 20, 20, 20,  0
		}
	};
}
